{notempty name="$elms"}
<div class="toolbar-btn-action {$class}" {$attr|raw}>
    {volist name="elmsLeft" id="elm"}
    {:$elm->render()}
    {/volist}
    {notempty name="$elmsRight"}
    <div class="pull-right">
        {volist name="elmsRight" id="elm"}
        {:$elm->render()}
        {/volist}
    </div>
    {/notempty}
</div>
{/notempty}